<?php

return [
    'suffix' => '.html',
    'routes' => [
        'home' => [
            'method' => 'GET|POST',
            'route' => '/',
            'target' => 'Controllers\Home',
            'name' => ''
        ],
        'login' => [
            'method' => 'GET|POST',
            'route' => '/[login|logout|verify:a]',
            'target' => 'Controllers\Login@<:a>',
            'name' => 'login'
        ],
        'index' => [
            'method' => 'GET|POST',
            'route' => '/[a:c]',
            'target' => 'Controllers\<:c>',
        ],
        'actions' => [
            'method' => 'GET|POST',
            'route' => '/[a:c]/[a:a]',
            'target' => 'Controllers\<:c>@<:a>',
        ],
        'action_id' => [
            'method' => 'GET|POST',
            'route' => '/[a:c]/[a:a]/[:id]',
            'target' => 'Controllers\<:c>@<:a>',
        ],
        'action_params' => [
            'method' => 'GET|POST',
            'route' => '/[a:c]/[a:a]/[:id]/[*:param]',
            'target' => 'Controllers\<:c>@<:a>',
        ],
    ]
];